Yocto for Raspberry Pi by Pierre-Jean Texier Petter Mabacker

Yocto for Raspberry Pi by Pierre-Jean Texier Petter Mabacker

Author:Pierre-Jean Texier,Petter Mabacker [Неизв.]
Language: eng
Format: epub, pdf
Publisher: Packt Publishing


Note

If you want more details about spi-config, you can visit https://github.com/cpb-/spi-tools/blob/master/src/spi-config.c.

spi-pipe

The spi-pipe program can send the data it receives from its standard input to the SPI MOSI line, while simultaneously displaying data received from the MISO SPI line on its standard output.

The general principle of operation is as follows:

$ <command-1> | spi-pipe [options] | <command-2>

For example, if we want to send some data to another SPI peripheral, we can use the following command:

$ printf "HELLO from R-pi" | spi-pipe -d /dev/spidev0.0 | hexdump -C



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.